import http from '@/utils/http'

/* 
 * 登录注册模块
 */

// 登录
export const login = (data) => {
    return http({
        url: '/login',
        method: 'post',
        data
    })
}
export const test = (data) => {
    return http({
        url: '/test',
        method: 'post',
        data
    })
}